package com.techfengs.test03;

/**
* TestFor
*/
public class TestFor {

	public static void main(String[] args) {
		int sum = 0;
		for (int num = 1; num <= 5; num++) {
			sum += num;
		}
		System.out.println("和：" + sum);
	}
}
